import request from '@/utils/request'

// 统一异步分发处理
export function doAsyncDispatch(data) {
  return request({
    url: '/async/doAsyncDispatch',
    method: 'post',
    data: data
  })
}

// 获取异步结果
export function getAsyncResult(data) {
  return request({
    url: '/async/getAsyncResult',
    method: 'post',
    data: data
  })
}
